package com.net.module.mapper;

import com.net.module.entity.Inventory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 库存表 Mapper 接口
 * </p>
 *
 * @author 猿仁
 * @since 2023-03-02
 */
@Mapper
public interface InventoryMapper extends BaseMapper<Inventory> {

    /**
     * 根据库存名称查询库存信息
     *
     * @param bussName
     * @return com.net.module.entity.Inventory
     * @author tianyu.Ge
     * @date 2023/3/3 8:33
     */
    Inventory getByBussName(@Param("bussName") String bussName);
}
